/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package day06;

/**
 *
 * @author Administrator
 */
public class APoint {

    private int x;
    private int y;

    public APoint(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }
    
    /*
     * toString
     */
 @Override
  public String toString(){
        return " Apoint ( x= "+this.x + ",y= "+ this.y+")";    
    }
 
 
    
}
